﻿using System;
using NOSDC.Pocos;
using System.Collections.Generic;

namespace NOSDC.Services
{
    public interface IPollService
    {
        Polls GetLatestPoll();
        void SubmitAnswer(PollResults result);
        IList<Polls> GetAllPolls();
        void CreatePoll(Polls poll);
        void UpdatePoll(Polls poll);
        void DeletePoll(Polls poll);
        bool GetPollResult(Guid userid, int pollid);
    }
}
